<template>
	<view>
		<view class="container" style="margin-top: 20rpx;">
			<view class="row list-item" @click="navTo(policyPath)">
				<text style="font-size: 36rpx;">隐私政策</text>
				<view class="" style="width: 30rpx;height: 30rpx;margin-left: auto;">
					<zywork-icon type="icon-youjiantou1" size="30" color="#afafaf "></zywork-icon>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				policyPath:"/pages/common/common?weburl=https://www.zgwlkj.cn/yunzhuan/%E9%9A%90%E7%A7%81%E6%94%BF%E7%AD%96.html"
			};
		},
		onLoad() {
			if(uni.getSystemInfoSync().platform === 'ios'){
				this.policyPath = "/pages/common/common?weburl=https://yunzhuan.zgwlkj.cn/apple"
			}
		},
		methods:{
			navTo(url){
				uni.navigateTo({
					url:url
				})
			}
		}
	}
</script>

<style lang="scss">
	
	page{
		background-color: #FAFAFA;
	}
	
	.container{
		padding: 0rpx 30rpx;
		background-color: #FFFFFF;
		.list-item{
			padding: 30rpx 0rpx;
			align-items: center;
		}
	}
	
</style>
